package com.macro.mall.demo.design.pattern.chain;

import java.io.Serializable;
import java.util.List;

public interface IChain extends Serializable {

    boolean hasNext();

    IResponsability next();

    void reset();

    void setResponsabilityList(List<IResponsability> responsabilityList);

    List<IResponsability> getResponsabilityList();

    String getChainStr();

    Object getContext();

}
